import http from "@/utils/http";
//获取投诉商品列表
export function getReportByUserId(reporterId) {
  return http({
    url: `/order/report/getReportByUserId/${reporterId}`,
    method: 'get',
  })
}

//新增举报
export const insertReport = (data) => {
  return http({
    url: `/order/report/insertReport`,
    method: 'POST',
    data
  })
}

